package cn.xiyun.xiyuncc.service;

import cn.xiyun.xiyuncc.domain.User;
import cn.xiyun.xiyuncc.dto.RegisterDto;
import com.baomidou.mybatisplus.service.IService;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

/**
 * <p>
 * 会员登录账号 服务类
 * </p>
 *
 * @author xiyun.maple
 * @since 2023-03-08
 */
public interface IUserService extends IService<User> {
    /* 用户手机号注册 */
   void register(RegisterDto registerDto);
    /* 通过电话获得user*/
    User phoneToUser(String phone);

}
